package com.achievement.mappings;

import com.achievement.domain.dto.honor.HonorAuthorDTO;
import com.achievement.domain.entity.HonorApplyBookMemberEntity;
import com.achievement.domain.entity.HonorAuthorEntity;
import com.achievement.domain.vo.honor.HonorAuthorVO;
import com.achievement.mapper.HonorApplyBookMemberMapper;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface HonorAuthorMapping {
    HonorAuthorVO dto2Vo(HonorAuthorDTO dto);

    HonorAuthorEntity dto2Entity(HonorAuthorDTO dto);

    HonorAuthorDTO vo2Dto(HonorAuthorVO vo);

    HonorAuthorDTO entity2Dto(HonorAuthorEntity dto);

    HonorAuthorVO entity2Vo(HonorAuthorEntity dto);
    HonorAuthorEntity honorApplyBookMemberEntity2Entity2HonorAuthorEntity(HonorApplyBookMemberEntity en);

}
